<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/global/attachconfig" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.attachConfig}</h1>
    </div>

    <div class="navbar">
      <ul class="nav">
        <li class="active"><a href="{:URL('admin/Global/attachconfig')}">{$Think.lang.baseConfig}</a>
        </li>
        <li><a href="{:URL('admin/Global/zone')}">{$Think.lang.zoneConfig}</a>
        </li>
        <li><a href="{:URL('admin/Global/water')}">{$Think.lang.waterConfig}</a>
        </li>
        <li><a href="{:URL('admin/Global/config',array('configname'=>'yun'))}">又拍云配置</a>
        </li>
      </ul>
    </div>

    <div class="form">
      <form method="post" action="{:URL('admin/Global/doSetAttach')}">
        <dl class="kv">
          <dt>
            <label>{$Think.lang.attachPathRule}：</label>
          </dt>
          <dd>
            <input name="attach_path_rule" type="text" class="input-text" value="{$attach_path_rule}">
            <p class="tip">{$Think.lang.attachPathRuleRemark}</p>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.attachMaxSize}：</label>
          </dt>
          <dd>
            <input type="number" name="attach_max_size" class="input-text" value="{$attach_max_size}">
            <p class="tip">{$Think.lang.attachMaxSizeRemark}</p>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.attachAllowExtension}：</label>
          </dt>
          <dd>
            <input name="attach_allow_extension" type="text" class="input-text" value="{$attach_allow_extension}" style="width:500px">
            <p class="tip">{$Think.lang.attachAllowExtensionRemark}</p>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.attachPath}：</label>
          </dt>
          <dd>
            <input name="attach_path" type="text" class="input-text" value="{$attach_path}" style="width:500px">
            <p class="tip">{$Think.lang.attachPathRemark}</p>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.attachUrl}：</label>
          </dt>
          <dd>
            <input type="url" name="attach_url" class="input-text" value="{$attach_url}" style="width:500px">
            <p class="tip">{$Think.lang.attachUrlRemark}</p>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.attachImageThumbQuality}：</label>
          </dt>
          <dd>
            <input type="number" name="attach_image_thumb_quality" class="input-text" value="{$attach_image_thumb_quality}" min="0" max="100" />
            <p class="tip">{$Think.lang.attachImageThumbQualityRemark}</p>
          </dd>
        </dl>
        <div class="actions">
          <input class="btn btn-y" type="submit" value="{$Think.lang.OK}" />
        </div>
      </form>
    </div>
  </div>
</body>

</html>
